package com.baoteng.rbspy.model.kind;

import java.util.List;

import com.baoteng.rbspy.annotation.JsoupProperty;
import com.baoteng.rbspy.model.response.quote.PrpCprofitDetails;

public class KindPO {

	Integer index;
	/**
	 * 是否选中
	 * on
	 */
	@JsoupProperty(tag = "input[id$=chooseFlag]")
	String chooseFlag;
	
	/**
	 * 险种代码 第二列为条款码 3列为calculateFlag 4列为relateSpecial
	 * 机动车交通事故强制责任保险-- 050100 050001 
	 * 机动车损失保险 -- 050202 050051 Y11Y000 050930
	 * 盗抢  -- 050501 050054 N11Y000 050932
	 * 第三者责任保险 -- 050602 050052 Y21Y000 050931
	 * 车上人员责任险（司机） -- 050711 050053 Y21Y00 050933
	 * 车上人员责任险（乘客） -- 050712 050053 Y21Y00 050934
	 * 车身划痕损失险   050211  050059 N12Y000 050937
	 * 玻璃单独破碎险   050232  050056 N32N000
	 * 指定修理厂险  050253 050065 N32N000
	 * 自燃损失险  050311  050057 N12Y000 050935
	 * 机动车损失保险无法找到第三方特约险  050451  050064 N32N000
	 * 发动机涉水损失险   050461  050060 N32Y000 050938
	 * 不计免赔险（车损险）  050930 050066 N33N000
	 * 不计免赔险（三者险） 050931 050066 N33N000
	 * 不计免赔险（车上人员（司机）） 050933  050066 N33N000
	 * 不计免赔险（车上人员（乘客））  050934 050066 N33N000
	 * 不计免赔险（盗抢险）  050932 050066 N33N000
	 * 不计免赔险（车身划痕损失险） 050937  050066 N33N000
	 * 不计免赔险（发动机涉水损失险）  050938 050066 N33N000
	 * 不计免赔险（自燃损失险） 050935 050066 N33N000
	 */
	@JsoupProperty(tag = "input[id$=kindCode]")
	protected String kindCode;
	
	/**
	 * 险种名称
	 */
	@JsoupProperty(tag = "input[id$=kindName]")
	protected String kindName;
	/**
	 * 序号
	 */
	@JsoupProperty(tag = "input[id$=itemKindNo]")
	protected Integer itemKindNo;
	/**
	 * 数量
	 */
	@JsoupProperty(tag = "input[id$=quantity]")
	protected Integer quantity;
	/**
	 * 单位保额
	 */
	@JsoupProperty(tag = "input[id$=.unitAmount]")
	protected Double unitAmount;
	/**
	 * 是否不计免赔
	 */
	@JsoupProperty(tag = "input[id$=specialFlag]")
	protected String specialFlag;
	
	/**
	 * 保额选项,只针对三者有效
	 */
	@JsoupProperty(tag = "input[id^=selectOption]")
	protected String selectOption;
	
	/**
	 * 页面显示保额
	 */
	@JsoupProperty(tag = "input[id^=amountView]")
	protected String amountView;
	
	/**
	 * 保额/限额
	 */
	@JsoupProperty(tag = "input[id$=.amount]")
	protected Double amount;
	
	@JsoupProperty(tag = "input[id$=value]")
	protected Double value;
	/**
	 * 绝对免赔额：
	 */
	@JsoupProperty(tag = "input[id$=deductible]")
	protected Double deductible;
	
	/**
	 * 绝对免赔率
	 */
	@JsoupProperty(tag = "input[id$=deductibleRate]")
	protected Double deductibleRate;
	/**
	 * 纯风险保费
	 */
	@JsoupProperty(tag = "input[id$=pureRiskPremium]")
	protected Double pureRiskPremium;
	/**
	 * 费率(%)
	 */
	@JsoupProperty(tag = "input[id$=rate]")
	protected Double rate;
	/**
	 *折扣
	 */
	@JsoupProperty(tag = "input[id$=disCount]")
	protected Double disCount;
	@JsoupProperty(tag = "input[id$=adjustRate]")
	protected Double adjustRate;
	/**
	 * 基础保费
	 */
	@JsoupProperty(tag = "input[id$=basePremium]")
	Double basePremium;
	/**
	 * 纯风险保费
	 */
	@JsoupProperty(tag = "input[id$=riskPremium]")
	Double riskPremium;
	/**
	 * 标准保费 
	 */
	@JsoupProperty(tag = "input[id$=benchmarkPremium]")
	protected Double benchMarkPremium;
	/**
	 * 应交保费 
	 */
	@JsoupProperty(tag = "input[id$=premium]")
	protected Double premium;
	/**
	 * 净保费 
	 */
	@JsoupProperty(tag = "input[id$=netPremium]")
	protected Double netPremium;
	/**
	 * 保费 税额
	 */
	@JsoupProperty(tag = "input[id$=taxPremium]")
	protected Double taxPremium;
	@JsoupProperty(tag = "input[id$=taxRate]")
	Double taxRate;
	@JsoupProperty(tag = "input[id$=taxfee_gb]")
	Double taxfee_gb;
	@JsoupProperty(tag = "input[id$=taxfee_lb]")
	Double taxfee_lb;
	@JsoupProperty(tag = "input[id$=allTaxFee]")
	Double allTaxFee;
	@JsoupProperty(tag = "input[id$=allNetPremium]")
	Double allNetPremium;
	
	/**
	 * 条款码
	 */
	@JsoupProperty(tag = "input[id$=clauseCode]")
	String clauseCode;
	@JsoupProperty(tag = "input[id$=kind]")
	protected String kind;
	/**
	 *玻璃险参数
	 *国产玻璃 10
	 *国产玻璃（特殊材质） 11
	 *进口玻璃 20
	 *进口玻璃（特殊材质） 21
	 */
	@JsoupProperty(tag = "input[id$=modeCode]")
	protected String modeCode;
	
	/**
	 * 不计免赔、教练车标志
	 * 如果第一位是１，则代表是主险，第一位是２，则代表是附加险，第4位为1，则代表投保不计免赔
	 * 如果为续保信息是7位 第4位代表是否投保不计免赔
	 * 非续保6位后5为都为0
	 */
	@JsoupProperty(tag = "input[id$=flag]",ignore=true)
	String flag;
	
	@JsoupProperty(tag = "input[id$=dutyFlag]")
	String dutyFlag;
	
	/**
	 * 不计免关联标记
	 */
	@JsoupProperty(tag = "input[id$=relateSpecial]",ignore=true)
	String relateSpecial;
	
	/**
	 * 是否计算保额标志
	 * 主险除盗抢险外是Y，附加险、不计免赔N
	 */
	String calculateFlag="Y";
	
	/**
	 * 是否走平台缓存
	 */
	Integer proposalCacheFlag=0;
	
	List<PrpCprofitDetails> factors;
	
	String startDate;
	String startHour;
	String startMinute;
	String endDate;
	String endHour;
	String endMinute;
	
	public String getChooseFlag() {
		return chooseFlag;
	}

	public void setChooseFlag(String chooseFlag) {
		this.chooseFlag = chooseFlag;
	}

	public String getKindCode() {
		return kindCode;
	}

	public void setKindCode(String kindCode) {
		this.kindCode = kindCode;
	}

	public String getKindName() {
		return kindName;
	}

	public void setKindName(String kindName) {
		this.kindName = kindName;
	}

	public Integer getItemKindNo() {
		return itemKindNo;
	}

	public void setItemKindNo(Integer itemKindNo) {
		this.itemKindNo = itemKindNo;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Double getUnitAmount() {
		return unitAmount;
	}

	public void setUnitAmount(Double unitAmount) {
		this.unitAmount = unitAmount;
	}

	public String getSpecialFlag() {
		return specialFlag;
	}

	public void setSpecialFlag(String specialFlag) {
		this.specialFlag = specialFlag;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getValue() {
		return value;
	}

	public void setValue(Double value) {
		this.value = value;
	}

	public Double getDeductible() {
		return deductible;
	}

	public void setDeductible(Double deductible) {
		this.deductible = deductible;
	}

	public Double getDeductibleRate() {
		return deductibleRate;
	}

	public void setDeductibleRate(Double deductibleRate) {
		this.deductibleRate = deductibleRate;
	}

	public Double getPureRiskPremium() {
		return pureRiskPremium;
	}

	public void setPureRiskPremium(Double pureRiskPremium) {
		this.pureRiskPremium = pureRiskPremium;
	}

	public Double getRate() {
		return rate;
	}

	public void setRate(Double rate) {
		this.rate = rate;
	}

	public Double getDisCount() {
		return disCount;
	}

	public void setDisCount(Double disCount) {
		this.disCount = disCount;
	}

	public Double getAdjustRate() {
		return adjustRate;
	}

	public void setAdjustRate(Double adjustRate) {
		this.adjustRate = adjustRate;
	}

	public Double getBasePremium() {
		return basePremium;
	}

	public void setBasePremium(Double basePremium) {
		this.basePremium = basePremium;
	}

	public Double getRiskPremium() {
		return riskPremium;
	}

	public void setRiskPremium(Double riskPremium) {
		this.riskPremium = riskPremium;
	}

	public Double getBenchMarkPremium() {
		return benchMarkPremium;
	}

	public void setBenchMarkPremium(Double benchMarkPremium) {
		this.benchMarkPremium = benchMarkPremium;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getStartHour() {
		return startHour;
	}

	public void setStartHour(String startHour) {
		this.startHour = startHour;
	}

	public String getStartMinute() {
		return startMinute;
	}

	public void setStartMinute(String startMinute) {
		this.startMinute = startMinute;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getEndHour() {
		return endHour;
	}

	public void setEndHour(String endHour) {
		this.endHour = endHour;
	}

	public String getEndMinute() {
		return endMinute;
	}

	public void setEndMinute(String endMinute) {
		this.endMinute = endMinute;
	}

	public Double getPremium() {
		return premium;
	}

	public void setPremium(Double premium) {
		this.premium = premium;
	}

	public Double getNetPremium() {
		return netPremium;
	}

	public void setNetPremium(Double netPremium) {
		this.netPremium = netPremium;
	}

	public Double getTaxPremium() {
		return taxPremium;
	}

	public void setTaxPremium(Double taxPremium) {
		this.taxPremium = taxPremium;
	}

	public Double getTaxRate() {
		return taxRate;
	}

	public void setTaxRate(Double taxRate) {
		this.taxRate = taxRate;
	}

	public Double getTaxfee_gb() {
		return taxfee_gb;
	}

	public void setTaxfee_gb(Double taxfee_gb) {
		this.taxfee_gb = taxfee_gb;
	}

	public Double getTaxfee_lb() {
		return taxfee_lb;
	}

	public void setTaxfee_lb(Double taxfee_lb) {
		this.taxfee_lb = taxfee_lb;
	}

	public Double getAllTaxFee() {
		return allTaxFee;
	}

	public void setAllTaxFee(Double allTaxFee) {
		this.allTaxFee = allTaxFee;
	}

	public Double getAllNetPremium() {
		return allNetPremium;
	}

	public void setAllNetPremium(Double allNetPremium) {
		this.allNetPremium = allNetPremium;
	}

	public String getClauseCode() {
		return clauseCode;
	}

	public void setClauseCode(String clauseCode) {
		this.clauseCode = clauseCode;
	}

	public String getModeCode() {
		return modeCode;
	}

	public void setModeCode(String modeCode) {
		this.modeCode = modeCode;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getDutyFlag() {
		return dutyFlag;
	}

	public void setDutyFlag(String dutyFlag) {
		this.dutyFlag = dutyFlag;
	}

	public String getRelateSpecial() {
		return relateSpecial;
	}

	public void setRelateSpecial(String relateSpecial) {
		this.relateSpecial = relateSpecial;
	}

	public String getCalculateFlag() {
		return calculateFlag;
	}

	public void setCalculateFlag(String calculateFlag) {
		this.calculateFlag = calculateFlag;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public Integer getProposalCacheFlag() {
		return proposalCacheFlag;
	}

	public void setProposalCacheFlag(Integer proposalCacheFlag) {
		this.proposalCacheFlag = proposalCacheFlag;
	}

	public List<PrpCprofitDetails> getFactors() {
		return factors;
	}

	public void setFactors(List<PrpCprofitDetails> factors) {
		this.factors = factors;
	}

	public String getSelectOption() {
		return selectOption;
	}

	public void setSelectOption(String selectOption) {
		this.selectOption = selectOption;
	}

	public String getAmountView() {
		return amountView;
	}

	public void setAmountView(String amountView) {
		this.amountView = amountView;
	}
	
}
